/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;
import util.ImageDb;
import derbymanager.*;
import java.util.ArrayList;

/**
 *
 * @author fer
 */
public interface ImageViewerModelInterface {

    public void fillPicturesTable(ArrayList<ImageDb> images);
    public ArrayList<ImageDb> getFavorites();
    public ArrayList<ImageDb> getPictures();
    public ArrayList<ImageDb> requestImagesFromQuery(ImageDb imd);
    public ImageDb requestImageFromPath(String path);
    public void addToFavorites(String path);
    public ArrayList<String> queryPicturesTable();
    public void alterPictureTables(ImageDb imd);
    public int getNumberOfTuples(String table);
    public ArrayList<ImageDb> getPictures(int begin,int offset);
}
